<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>岭师青年欢迎您</title>
	<link href="<%=request.getContextPath() %>/resources/css/index/style.css" rel="stylesheet">
	<link href="//cdn.bootcss.com/jquery.bootstrapvalidator/0.5.3/css/bootstrapValidator.min.css" rel="stylesheet">
	<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
	<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
	<script src="//cdn.bootcss.com/jquery.bootstrapvalidator/0.5.3/js/bootstrapValidator.min.js"></script>
	<script src="<%=request.getContextPath() %>/resources/js/validate.js"></script>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
	<div class="container">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="<%=request.getContextPath()%>/index">岭师青年</a>
		</div>
		<div id="navbar" class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<c:if test="${column1 == true }">
					<li><a href="<%=request.getContextPath()%>/article/">投稿情况</a></li>
				</c:if>
				<c:if test="${column2 == true }">
					<li><a href="<%=request.getContextPath()%>/song/">点歌台</a></li>
				</c:if>
				<c:if test="${column3 == true }">
					<li><a href="<%=request.getContextPath()%>/vote/">团学系统投票</a></li>
				</c:if>
				<c:if test="${column4 == true }">
					<li class="active"><a href="<%=request.getContextPath()%>/system/">系统设置</a></li>
				</c:if>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li>
					<a href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
						<img src="/lsqn/${loginUser.icon }" alt="icon" class="img-circle" id="icon">
						${sessionScope.loginUser.nickname }
						<span class="caret"></span>
					</a>
					<ul class="dropdown-menu">
						<li><a href="<%=request.getContextPath()%>/system/loginuser/update" target="content">个人资料</a></li>
						<li><a href="<%=request.getContextPath()%>/system/loginuser/updatepsw" target="content">修改密码</a></li>
						<li role="separator" class="divider"></li>
						<li><a href="<%=request.getContextPath() %>/system/">系统设置</a></li>
						<li role="separator" class="divider"></li>
						<li><a href="<%=request.getContextPath() %>/logout">退出</a></li>
					</ul>
				</li>
			</ul>
		</div>
	</div>
</nav>
<div class="container well well-lg" style="background-color: #FFF;">
	<div class="row">
		<div class="col-sm-3 col-md-2 sidebar">
			<ul class="nav nav-sidebar">
				<li>
					<a href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
						用户管理
						<span class="caret"></span>
					</a>
					<ul class="dropdown-menu">
						<li>
							<a href="<%=request.getContextPath() %>/system/user/list/3" target="content">
							普通用户
							</a>
						</li>
						<li>
							<a href="<%=request.getContextPath() %>/system/user/list/4" target="content">
							教师
							</a>
						</li>
						<li>
							<a href="<%=request.getContextPath() %>/system/user/list/1" target="content">
							管理员
							</a>
						</li>
						<li>
							<a href="<%=request.getContextPath() %>/system/user/add" target="content">
							添加用户
							</a>
						</li>
					</ul>
				</li>
			</ul>
			<ul class="nav nav-sidebar">	
				<li>
					<a href="<%=request.getContextPath()%>/system/setting" target="content">
						系统管理
					</a>
				</li>
			</ul>
			<ul class="nav nav-sidebar">
				<li>
					<a href="<%=request.getContextPath()%>/system/user/update/${loginUser.id }" target="content">
						个人信息管理
					</a>
				</li>
			</ul>
		</div>
		<div class="col-lg-2 visible-xs visible-sm visible-md"
			style="text-align: center; padding-bottom: 10px;">
		</div>
		<div class="col-lg-10">
			<iframe name="content" src=""></iframe>
		</div>
	</div>
</div>
<jsp:include page="../comm/foot.jsp"></jsp:include>
</body>
</html>